home *** CD-ROM | disk | FTP | other *** search
- on PrepTrace
- global gDBtrace
- set gDBtrace to [[1, "Fossils"], [2, "Natural Design"], [3, "Creative Evolution"]]
- end
-
- on LoadTrace
- global gDBtrace, gColorList, gTraceMem
- repeat with traceE in gDBtrace
- set oldwc to the number of words in field gTraceMem
- if stringp(traceE) then
- set NextEntry to "- " & traceE & RETURN
- next repeat
- end if
- if listp(traceE) then
- set TraceFlag to getAt(traceE, 1)
- if TraceFlag <= 4 then
- set NextEntry to "- " & getAt(traceE, 2) & RETURN
- else
- set NextEntry to "- " & getAt(traceE, 2) & RETURN
- end if
- put NextEntry after field gTraceMem
- set wc to the number of words in field gTraceMem
- if getAt(traceE, 2) = "contents" then
- set the foreColor of word wc of field gTraceMem to 254
- else
- repeat with K = oldwc + 2 to wc
- set the foreColor of word K of field gTraceMem to getAt(gColorList, TraceFlag)
- end repeat
- end if
- next repeat
- end if
- beep()
- beep()
- beep()
- end repeat
- end
-